package labox.innovation.gameserver.model.actor.status;

import labox.innovation.gameserver.model.actor.L2Character;
import labox.innovation.gameserver.model.actor.L2Summon;

public class SummonStatus extends PlayableStatus {

	public SummonStatus(L2Summon activeChar) {
		super(activeChar);
	}

	@Override
	public void reduceHp(int value, L2Character attacker) {
		reduceHp(value, attacker, true, false, false);
	}

	@Override
	public void reduceHp(int value, L2Character attacker, boolean awake, boolean isDOT, boolean isHPConsumption) {
		if (getActiveChar().isDead())
			return;
		super.reduceHp(value, attacker, awake, isDOT, isHPConsumption);
	}

	@Override
	public L2Summon getActiveChar() {
		return (L2Summon) _activeChar;
	}
}
